package com.woniuxy.yoga.course.model.form.ordinary;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 新增普通课程预约的参数对象
 */
@ApiModel("新增普通课程预约的参数对象")
@Data
public class AddOrdinaryCourseBookForm {

    /**
     * 普通课程ID
     */
    @NotNull(message = "普通课程ID不能为空")
    @ApiModelProperty("普通课程ID")
    private Integer courseId;

    /**
     * 产品类型ID
     */
    @NotNull(message = "产品类型ID不能为空")
    @ApiModelProperty("产品类型ID")
    private Integer productTypeId;

}
